/****************************************************************************
** Meta object code from reading C++ file 'bluetooth.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.9)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "bluetooth.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bluetooth.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.9. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_BlueTooth_t {
    QByteArrayData data[21];
    char stringdata0[259];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BlueTooth_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BlueTooth_t qt_meta_stringdata_BlueTooth = {
    {
QT_MOC_LITERAL(0, 0, 9), // "BlueTooth"
QT_MOC_LITERAL(1, 10, 11), // "sendMessage"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 7), // "message"
QT_MOC_LITERAL(4, 31, 12), // "sendshowMenu"
QT_MOC_LITERAL(5, 44, 16), // "disconnectSignal"
QT_MOC_LITERAL(6, 61, 17), // "discoveryFinished"
QT_MOC_LITERAL(7, 79, 16), // "newServicesFound"
QT_MOC_LITERAL(8, 96, 4), // "list"
QT_MOC_LITERAL(9, 101, 16), // "searchForDevices"
QT_MOC_LITERAL(10, 118, 10), // "stopSearch"
QT_MOC_LITERAL(11, 129, 15), // "newServiceFound"
QT_MOC_LITERAL(12, 145, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(13, 162, 9), // "connected"
QT_MOC_LITERAL(14, 172, 4), // "name"
QT_MOC_LITERAL(15, 177, 11), // "showMessage"
QT_MOC_LITERAL(16, 189, 6), // "sender"
QT_MOC_LITERAL(17, 196, 18), // "clientDisconnected"
QT_MOC_LITERAL(18, 215, 14), // "toDisconnected"
QT_MOC_LITERAL(19, 230, 12), // "disconnected"
QT_MOC_LITERAL(20, 243, 15) // "connectToDevice"

    },
    "BlueTooth\0sendMessage\0\0message\0"
    "sendshowMenu\0disconnectSignal\0"
    "discoveryFinished\0newServicesFound\0"
    "list\0searchForDevices\0stopSearch\0"
    "newServiceFound\0QListWidgetItem*\0"
    "connected\0name\0showMessage\0sender\0"
    "clientDisconnected\0toDisconnected\0"
    "disconnected\0connectToDevice"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BlueTooth[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       4,    0,   92,    2, 0x06 /* Public */,
       5,    0,   93,    2, 0x06 /* Public */,
       6,    0,   94,    2, 0x06 /* Public */,
       7,    1,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   98,    2, 0x0a /* Public */,
      10,    0,   99,    2, 0x0a /* Public */,
      11,    1,  100,    2, 0x0a /* Public */,
      13,    1,  103,    2, 0x0a /* Public */,
      15,    2,  106,    2, 0x0a /* Public */,
       1,    0,  111,    2, 0x0a /* Public */,
      17,    0,  112,    2, 0x0a /* Public */,
      18,    0,  113,    2, 0x0a /* Public */,
      19,    1,  114,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      20,    0,  117,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 12,    2,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   16,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   14,

 // methods: parameters
    QMetaType::Void,

       0        // eod
};

void BlueTooth::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<BlueTooth *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sendMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->sendshowMenu(); break;
        case 2: _t->disconnectSignal(); break;
        case 3: _t->discoveryFinished(); break;
        case 4: _t->newServicesFound((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 5: _t->searchForDevices(); break;
        case 6: _t->stopSearch(); break;
        case 7: _t->newServiceFound((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 8: _t->connected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->showMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->sendMessage(); break;
        case 11: _t->clientDisconnected(); break;
        case 12: _t->toDisconnected(); break;
        case 13: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->connectToDevice(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (BlueTooth::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlueTooth::sendMessage)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (BlueTooth::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlueTooth::sendshowMenu)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (BlueTooth::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlueTooth::disconnectSignal)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (BlueTooth::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlueTooth::discoveryFinished)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (BlueTooth::*)(const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlueTooth::newServicesFound)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject BlueTooth::staticMetaObject = { {
    &QWidget::staticMetaObject,
    qt_meta_stringdata_BlueTooth.data,
    qt_meta_data_BlueTooth,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *BlueTooth::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *BlueTooth::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_BlueTooth.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int BlueTooth::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void BlueTooth::sendMessage(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void BlueTooth::sendshowMenu()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void BlueTooth::disconnectSignal()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void BlueTooth::discoveryFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void BlueTooth::newServicesFound(const QStringList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
